<?php
/* @var $this MemGroupController */
/* @var $model MemGroup */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'会员管理'=>array($this->pre_module_url.'/member/admin'),
	'会员组管理'=>array('admin'),
);

?>


<div class="pro_filter c_f">
	<div class="filter f_l">
		<?php $form=$this->beginWidget('CActiveForm', array(
			'action'=>Yii::app()->createUrl($this->route),
			'method'=>'get',
		)); ?>
			<label class="">会员组名称：</label>
			<?php echo $form->textField($model,'zmg_title',array('class'=>'t_ipt ipt_bg w_160 mr20')); ?>
			<label class="">会员组描述：</label>
			<?php echo $form->textField($model,'description',array('class'=>'t_ipt ipt_bg w_160 mr20')); ?>
			
			<button class="mem_bgx mem_btn01 mr20" type="submit" name="">查找</button>
		<?php $this->endWidget(); ?>
	</div>
</div>

<table class="list_table list_table2" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<th width="" class="pl15">会员组ID</th>
		<th width="20%">会员组等级</th>
		<th width="50%">会员组描述</th> 
		<th width="12%">操作</th>                                                    
	</tr>
</table>	

<?php     
$this->widget('zii.widgets.CListView', array(    
    'dataProvider'=>$model->search(),    
    'itemView'=>'_view',      
    'emptyText'=>'暂时没有数据',    
    'selectAll'=>array('ids[]','id[]'),    
    'itemsTagName'=>'table',  
    'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),  
    'artLink'=>array(    
        //批量删除   
		array(Yii::t('adm','Delete All'),$this->pre_module_url.'/memGroup/delete','确认批量删除选中项目！'),
    ),    
    'batchItem'=>array(    
        //移动到分类    
        CHtml::linkbtn('创建会员组',array($this->pre_module_url.'/memGroup/create/type/1')),    
        //添加到分类    
    ),    
));    
?>  
